local extension = Package("mini_extreme")
extension.extensionName = "mini"

extension:loadSkillSkelsByPath("./packages/mini/pkg/mini_extreme/skills")

Fk:loadTranslationTable{
  ["mini_extreme"] = "小程序-登峰造极",
  ["mini"] = "小程序",
  ["miniex"] = "极",
}

General:new(extension, "miniex__lvbu", "qun", 4):addSkills { "wushuang", "mini_xiaohu" }
Fk:loadTranslationTable{
  ["miniex__lvbu"] = "极吕布",
  ["illustrator:miniex__lvbu"] = "君桓文化",


  ["$wushuang_miniex__lvbu1"] = "此身此武，天下无双！",
  ["$wushuang_miniex__lvbu2"] = "乘赤兔，舞画戟，斩将破敌不过举手而为！",

  ["~miniex__lvbu"] = "我天下无敌，却不能与貂蝉共度余生了……",
}

General:new(extension, "miniex__daqiao", "wu", 3, 3, General.Female):addSkills {
  "mini_xiangzhi",
  "mini_jielie",
}
Fk:loadTranslationTable{
  ["miniex__daqiao"] = "极大乔",
  ["#miniex__daqiao"] = "矜持之花",
  ["illustrator:miniex__daqiao"] = "匠人绘",

  ["~miniex__daqiao"] = "忆君如流水，日夜无歇时……",
}

General:new(extension, "miniex__xiaoqiao", "wu", 3, 3, General.Female):addSkills {
  "mini_tongxin",
  "mini_shaoyan",
}
Fk:loadTranslationTable{
  ["miniex__xiaoqiao"] = "极小乔",
  ["#miniex__xiaoqiao"] = "矫情之花",
  ["illustrator:miniex__xiaoqiao"] = "Jzeo",

  ["~miniex__xiaoqiao"] = "公瑾，好想你再拥我入怀……",
}

local miniExGuojia = General:new(extension, "miniex__guojia", "wei", 3)
miniExGuojia:addSkills { "mini_dingce", "mini_suanlve" }
miniExGuojia:addRelatedSkill("mini_miaoji")
Fk:loadTranslationTable{
  ["miniex__guojia"] = "极郭嘉",
  ["#miniex__guojia"] = "早终的先知",
  ["illustrator:miniex__guojia"] = "匠人绘",

  ["~miniex__guojia"] = "经此一别，已无再见之日……",
}

General:new(extension, "miniex__machao", "shu", 4):addSkills { "mini_qipao", "mini_zhuixi" }
Fk:loadTranslationTable{
  ["miniex__machao"] = "极马超",
  ["#miniex__machao"] = "一骑当千",
  ["illustrator:miniex__machao"] = "匠人绘",

  ["~miniex__machao"] = "曹贼！战场再见，吾必杀汝！",
}

local miniExZhugeliang = General:new(extension, "miniex__zhugeliang", "shu", 3)
miniExZhugeliang:addSkills { "mini_sangu", "mini_yanshi" }
miniExZhugeliang:addRelatedSkill("mini_miaoji")
Fk:loadTranslationTable{
  ["miniex__zhugeliang"] = "极诸葛亮",
  ["#miniex__zhugeliang"] = "卧龙",
  ["illustrator:miniex__zhugeliang"] = "聚一",

  ["$mini_miaoji_miniex__zhugeliang1"] = "大梦先觉，感三顾之诚，布天下三分。",
  ["$mini_miaoji_miniex__zhugeliang2"] = "卧龙初晓，铭鱼水之情，托死生之志。",

  ["~miniex__zhugeliang"] = "君臣鱼水犹昨日，煌煌天命终不归……",
}

local miniExHuangyueying = General:new(extension, "miniex__huangyueying", "shu", 3, 3, General.Female)
miniExHuangyueying:addSkills { "mini_miaobi", "mini_huixin" }
miniExHuangyueying:addRelatedSkills { "jizhi", "mini_jifeng" }
Fk:loadTranslationTable{
  ["miniex__huangyueying"] = "极黄月英",
  ["#miniex__huangyueying"] = "归隐的杰女",
  ["illustrator:miniex__huangyueying"] = "鹿田",

  ["~miniex__huangyueying"] = "纨质陨残暮，思旧梦魂远。",
}

General:new(extension, "miniex__caocao", "wei", 4):addSkills { "mini_delu", "mini_zhujiu" }
Fk:loadTranslationTable{
  ["miniex__caocao"] = "极曹操",
  ["#miniex__caocao"] = "魏武帝",
  ["illustrator:miniex__caocao"] = "铁杵",

  ["~miniex__caocao"] = "吾之一生或负天下，然终不负己心。",
}

local miniExSimayi = General:new(extension, "miniex__simayi", "wei", 3)
miniExSimayi:addSkills { "mini_yinren", "mini_duoquan" }
miniExSimayi:addRelatedSkills { "ex__jianxiong", "xingshang", "mingjian" }
Fk:loadTranslationTable{
  ["miniex__simayi"] = "极司马懿",
  ["#miniex__simayi"] = "狼顾之鬼",
  ["illustrator:miniex__simayi"] = "暗金",

  ["~miniex__simayi"] = "辟基立业，就交于子元了……",
}

General:new(extension, "miniex__yuanshao", "qun", 4):addSkills { "mini_zunbei", "mini_mengshou" }
Fk:loadTranslationTable{
  ["miniex__yuanshao"] = "极袁绍",
  ["#miniex__yuanshao"] = "高贵的名门",
  ["illustrator:miniex__yuanshao"] = "鹿田",

  ["~miniex__yuanshao"] = "思谋无断，始至今日……",
}

General:new(extension, "miniex__lusu", "wu", 3):addSkills { "mini_lvyuan", "mini_hezong" }
Fk:loadTranslationTable{
  ["miniex__lusu"] = "极鲁肃",
  ["#miniex__lusu"] = "独断的外交家",
  ["illustrator:miniex__lusu"] = "君桓文化",

  ["~miniex__lusu"] = "孙刘永结一心，天下必归吾主，咳咳咳……",
}

General:new(extension, "miniex__xuchu", "wei", 4):addSkills { "mini_huhou", "mini_wuwei" }
Fk:loadTranslationTable{
  ["miniex__xuchu"] = "极许褚",
  ["#miniex__xuchu"] = "虎痴",
  ["illustrator:miniex__xuchu"] = "鹿田",

  ["~miniex__xuchu"] = "丞相，丞相！呃啊……",
}

General:new(extension, "miniex__xunyu", "wei", 3):addSkills {
  "mini_wangzuo",
  "mini_juxian",
  "mini_xianshi",
}
Fk:loadTranslationTable{
  ["miniex__xunyu"] = "极荀彧",
  ["#miniex__xunyu"] = "王佐之才",
  ["illustrator:miniex__xunyu"] = "君桓文化",

  ["~miniex__xunyu"] = "初旨可共图，殊途难同归。",
}

General:new(extension, "miniex__zhenji", "wei", 3, 3, General.Female):addSkills {
  "mini_shenfu",
  "mini_siyuan",
}
Fk:loadTranslationTable{
  ["miniex__zhenji"] = "极甄姬",
  ["#miniex__zhenji"] = "薄幸的美人",
  ["illustrator:miniex__zhenji"] = "君桓文化",

  ["~miniex__zhenji"] = "以发覆面，何等凄凉……",
}

General:new(extension, "miniex__sunce", "wu", 4):addSkills {
  "mini_taoni",
  "mini_pingjiang",
  "mini_dingye",
}
Fk:loadTranslationTable{
  ["miniex__sunce"] = "极孙策",
  ["#miniex__sunce"] = "江东的小霸王",
  ["illustrator:miniex__sunce"] = "杭州新艺族",

  ["~miniex__sunce"] = "有众卿鼎力相辅，仲谋必成大事。",
}

General:new(extension, "miniex__sunquan", "wu", 4):addSkills { "mini__zongxi", "mini__luheng" }
Fk:loadTranslationTable{
  ["miniex__sunquan"] = "极孙权",
  ["#miniex__sunquan"] = "年轻的贤君",
  ["illustrator:miniex__sunquan"] = "君桓文化",

  ["~miniex__sunquan"] = "余子碌碌，竟无承位之人。",
}

local miniExZhouyu = General:new(extension, "miniex__zhouyu", "wu", 3)
miniExZhouyu:addSkills { "miniex__yingrui", "miniex__fenli" }
miniExZhouyu:addRelatedSkill("mini_miaoji")
Fk:loadTranslationTable{
  ["miniex__zhouyu"] = "极周瑜",
  ["#miniex__zhouyu"] = "大都督",
  ["illustrator:miniex__zhouyu"] = "君桓文化",

  ["~miniex__zhouyu"] = "伯符，瑜来也……",
}

General:new(extension, "miniex__caiwenji", "qun", 3, 3, General.Female):addSkills {
  "mini_beijia",
  "mini_sifu",
}
Fk:loadTranslationTable{
  ["miniex__caiwenji"] = "极蔡文姬",
  ["#miniex__caiwenji"] = "异乡的孤女",
  ["illustrator:miniex__caiwenji"] = "君桓文化",

  ["~miniex__caiwenji"] = "怨兮欲问天，天苍苍兮上无缘……",
}

General:new(extension, "miniex__guanyu", "shu", 4):addSkills { "mini__yihan", "mini__wuwei" }

Fk:loadTranslationTable{
  ["miniex__guanyu"] = "极关羽",
  ["#miniex__guanyu"] = "美髯公",
  ["illustrator:miniex__guanyu"] = "杭州新艺族",

  ["~miniex__guanyu"] = "大丈夫为忠为义，何惜死乎！",
}

General:new(extension, "miniex__dongzhuo", "qun", 5):addSkills { "mini__weicheng", "mini__bianguan" }
Fk:loadTranslationTable{
  ["miniex__dongzhuo"] = "极董卓",
}

General:new(extension, "miniex__zhurong", "shu", 4, 4, General.Female):addSkills {
  "mini__xiangwei",
  "mini__yanfeng",
}
Fk:loadTranslationTable{
  ["miniex__zhurong"] = "极祝融",
}

General:new(extension, "miniex__caozhi", "wei", 3):addSkills { "mini__caiyi", "mini__aoxiang" }
Fk:loadTranslationTable{
  ["miniex__caozhi"] = "极曹植",
}

General:new(extension, "miniex__zhangfei", "shu", 4):addSkills { "mini__hupo", "mini__hanxing" }
Fk:loadTranslationTable{
  ["miniex__zhangfei"] = "极张飞",
}

local miniExJiangwei = General:new(extension, "miniex__jiangwei", "shu", 4)
miniExJiangwei:addSkills { "mini__gujin", "mini__qumou" }
miniExJiangwei:addRelatedSkill("mini_miaoji")
Fk:loadTranslationTable{
  ["miniex__jiangwei"] = "极姜维",
}

General:new(extension, "miniex__liubei", "shu", 4):addSkills { "mini__guizhi", "mini__hengyi" }
Fk:loadTranslationTable{
  ["miniex__liubei"] = "极刘备",
}

General:new(extension, "miniex__hetaihou", "qun", 3, 3, General.Female):addSkills {
  "mini__fuyin",
  "mini__qiangji",
}
Fk:loadTranslationTable{
  ["miniex__hetaihou"] = "极何太后",
}

General:new(extension, "miniex__wangyi", "wei", 4, 4, General.Female):addSkills {
  "mini__zuoqing",
  "mini__jianchou",
}
Fk:loadTranslationTable{
  ["miniex__wangyi"] = "极王异",
}

General:new(extension, "miniex__zhangchunhua", "wei", 3, 3, General.Female):addSkills {
  "mini__juejue",
  "mini__qingshiz",
  "mini__qingjuez",
}
Fk:loadTranslationTable{
  ["miniex__zhangchunhua"] = "极张春华",
}

--[[
local jiaxu = General:new(extension, "miniex__jiaxu", "qun", 3)
jiaxu:addSkills {
  "miniex__quanbian",
  "miniex__kuangshi",
  "miniex__chenjie",
}
jiaxu:addrelatedSkill("mini_miaoji")
}]]
Fk:loadTranslationTable{
  ["miniex__jiaxu"] = "极贾诩",

  ["miniex__quanbian"] = "权变",
  [":miniex__quanbian"] = "锁定技，当一名角色成为伤害类牌的唯一目标后，若此牌与上一张指定其为目标的伤害类卡牌颜色相同，"..
  "你获得1点<a href='mini_moulue'>谋略值</a>；若牌名相同，你下次发动〖妙计〗<a href='mini_moulue'>谋略值</a>消耗-1（至少为0）。",
  ["miniex__kuangshi"] = "匡势",
  [":miniex__kuangshi"] = "出牌阶段结束时，你可以选择一名角色：若其区域内牌数小于体力上限，其将手牌摸至体力上限（至多摸5张），"..
  "然后你可以观看并使用一张其获得的牌；若其区域内牌数大于体力上限，令其将手牌弃至体力上限（至多弃5张），然后你可以使用一张其弃置的牌。",
  ["miniex__chenjie"] = "沉节",
  [":miniex__chenjie"] = "限定技，每轮开始时，你可以消耗5点<a href='mini_moulue'>谋略值</a>，令所有其他角色选择："..
  "1.当你下次受到伤害时，将此伤害转移给其；2.减1点体力上限，当你下次受到伤害后，其加1点体力上限。",
}

--[[
General:new(extension, "miniex__kongrong", "qun", 3):addSkills {
  "miniex__zhengren",
  "miniex__jijian",
}
}]]
Fk:loadTranslationTable{
  ["miniex__kongrong"] = "极孔融",

  ["miniex__zhengren"] = "诤仁",
  [":miniex__zhengren"] = "有角色受到过伤害的回合结束时，你可以选择一名除当前回合角色外的角色，然后选择本轮未选择过的一项令当前回合角色执行："..
  "1.交给你选择的角色两张牌；2.弃置两张牌，令你选择的角色摸等量的牌；3.用手牌中花色最多的牌交换你选择的角色手牌中花色最少的牌。",
  ["miniex__jijian"] = "讥谏",
  [":miniex__jijian"] = "出牌阶段限一次，你可以秘密标记一张基本牌或锦囊牌，当此牌于你的回合外进入弃牌堆时，你可以对一名其他角色"..
  "造成1点伤害。",
}

General:new(extension, "miniex__caopi", "wei", 3):addSkills {
  "miniex__chaowei",
  "miniex__enshe",
}
Fk:loadTranslationTable{
  ["miniex__caopi"] = "极曹丕",
  ["~miniex__caopi"] = "吴蜀未服，不朽之业难成矣……",
}

General:new(extension, "miniex__guohuanghou", "wei", 3, 3, General.Female):addSkills {
  "mini__jichong",
  "mini__yifu",
}
Fk:loadTranslationTable{
  ["miniex__guohuanghou"] = "极郭皇后",
}

General:new(extension, "miniex__xinxianying", "wei", 3, 3, General.Female):addSkills {
  "mini__yanzhengs",
  "mini__gaojie",
}
Fk:loadTranslationTable{
  ["miniex__xinxianying"] = "极辛宪英",
}

General:new(extension, "miniex__zhaoyun", "shu", 4):addSkills {
  "mini__longyis",
  "mini__talan",
  "mini__jueyaq",
}
Fk:loadTranslationTable{
  ["miniex__zhaoyun"] = "极赵云",
  ["#miniex__zhaoyun"] = "虎威将军",
  ["~miniex__zhaoyun"] = "北伐未竟，壮志成空！",
}

--[[
General:new(extension, "miniex__sunshangxiang", "wu", 3, 3, General.Female):addSkills {
  "miniex__xiaojie",
  "miniex__jiaohao",
}]]
Fk:loadTranslationTable{
  ["miniex__sunshangxiang"] = "极孙尚香",

  ["miniex__xiaojie"] = "枭捷",
  [":miniex__xiaojie"] = "<a href='MiniForceSkill'>奋武技</a>，出牌阶段，你可以弃置场上的一张牌，视为使用一张【杀】或【酒】，"..
  "然后你与失去牌的角色本回合受到的伤害+1；若失去牌的角色为你，此牌无次数限制。",
  ["miniex__jiaohao"] = "骄豪",
  [":miniex__jiaohao"] = "出牌阶段限一次，你可以与一名手牌数与你之差不大于2的其他角色同时展示一张牌，重复此流程，直到你与其展示牌"..
  "牌名相同或有角色展示了所有手牌。然后弃置你与其未展示的手牌，若其中有装备牌，你可以获得并使用之。",
}

--[[
General:new(extension, "miniex__dianwei", "wei", 3, 4):addSkills {
  "miniex__kangyong",
  "miniex__qingqu",
}
}]]
Fk:loadTranslationTable{
  ["miniex__dianwei"] = "极典韦",

  ["miniex__kangyong"] = "亢勇",
  [":miniex__kangyong"] = "<a href='MiniForceSkill'>奋武技</a>，出牌阶段，你可以失去1点体力，亮出牌堆顶X张牌；当你受到伤害后，"..
  "你可以亮出牌堆顶X张牌（X为你已损失体力值）。若如此做，你选择其中一张牌并令一名其他角色选择一项："..
  "1.你获得选择的牌，其本回合不能使用或打出此牌花色相同的牌；"..
  "2.你获得未选择的牌，本回合你对其使用这些牌无距离次数限制。",
  ["miniex__qingqu"] = "勍躯",
  [":miniex__qingqu"] = "每回合限一次，当你进入濒死状态时，你可以进行一次判定，若结果花色与当前回合角色本回合使用过的牌的花色均不同，"..
  "你回复1点体力。",
}

--[[
General:new(extension, "miniex__xunyou", "wei", 3):addSkills {
  "miniex__weimo",
  "miniex__lance",
}
}]]
Fk:loadTranslationTable{
  ["miniex__xunyou"] = "极荀攸",

  ["miniex__weimo"] = "帷谟",
  [":miniex__weimo"] = "游戏开始时，你将手牌摸至游戏人数，然后将至少一半手牌（向下取整）置于你的武将牌上，称为“帷谟”牌。"..
  "每回合限两次，当“帷谟”牌或你的手牌数变化后，若两者数量相同，你摸一张牌；若此时为你的出牌阶段，你获得一张“帷谟”牌。",
  ["miniex__lance"] = "览策",
  [":miniex__lance"] = "出牌阶段限一次，你可以将一张牌置为“帷谟”牌，然后你可以视为使用一张普通锦囊牌（目标数不能大于放置牌的目标数）。",
}

--[[
local luxun = General:new(extension, "miniex__luxun", "wu", 3)
luxun:addSkills {
  "miniex__weimo",
  "miniex__lance",
}
luxun:addRelatedSkill("mini_miaoji")
}]]
Fk:loadTranslationTable{
  ["miniex__luxun"] = "极陆逊",

  ["miniex__qianmou"] = "谦谋",
  [":miniex__qianmou"] = "游戏开始时，你可以弃置至多两张手牌，获得3倍的<a href='mini_moulue'>谋略值</a>。"..
  "当你的手牌数或<a href='mini_moulue'>谋略值</a>变化后，若两者数量相同，你摸一张牌。",
  ["miniex__weiwo"] = "帷幄",
  [":miniex__weiwo"] = "转换技，出牌阶段限一次，你可以：阳，对一名手牌数大于X的角色造成1点伤害；阴，与一名手牌数小于X的角色各弃置一张牌"..
  "（X为你的<a href='mini_moulue'>谋略值</a>，至少为1）。然后你获得1点<a href='mini_moulue'>谋略值</a>。",
}

--[[
General:new(extension, "miniex__diaochan", "qun", 3, 3, General.Female):addSkills {
  "miniex__xiaoshao",
  "miniex__xianshang",
  "miniex__aoyan",
}]]
Fk:loadTranslationTable{
  ["miniex__diaochan"] = "极貂蝉",

  ["miniex__xiaoshao"] = "萧韶",
  [":miniex__xiaoshao"] = "<a href='rhyme_skill'>韵律技</a>，出牌阶段限一次，你可以：平，弃置一名角色一张牌，然后你令其"..
  "视为使用一张无距离次数限制的【杀】，此【杀】指定你为目标时，你可以选择一名角色成为此【杀】的额外目标；仄，令一名角色摸一张牌，"..
  "然后其本回合使用的下一张牌无效。转韵：出牌阶段有角色使用【酒】结算结束后。",
  ["miniex__xianshang"] = "献觞",
  [":miniex__xianshang"] = "出牌阶段，若场上没有角色处于“酒”状态，你可以弃置X张牌并选择一名角色（X为此技能本阶段发动次数），"..
  "然后你摸一张牌并令其视为使用一张无次数限制的【酒】。",
  ["miniex__jiaohao"] = "㜜妍",
  [":miniex__jiaohao"] = "锁定技，一名角色的结束阶段，若你本回合失去过牌，你摸一张牌。",
}

--[[
General:new(extension, "miniex__taishici", "wu", 4):addSkills {
  "miniex__jiaofeng",
  "miniex__laizhi",
}
}]]
Fk:loadTranslationTable{
  ["miniex__taishici"] = "极太史慈",

  ["miniex__jiaofeng"] = "绞锋",
  [":miniex__jiaofeng"] = "出牌阶段开始时，你可以选择一名其他角色并选择任意项：<br>"..
  "1.你获得一张【杀】并与其各视为使用一张【酒】；<br>"..
  "2.本回合其成为你使用【杀】或【决斗】的额外目标。<br>"..
  "若你均选择，其可以视为使用一张无距离限制的【杀】。",
  ["miniex__laizhi"] = "赉志",
  [":miniex__laizhi"] = "每轮每名角色限一次，当你使用【杀】或【决斗】造成伤害后，你可以令一名角色下个摸牌阶段摸牌数和出牌阶段使用【杀】次数+1。"..
  "当你死亡后，你可以令一名其他角色获得此技能。",
}

--[[
General:new(extension, "miniex__mayunlu", "shu", 3, 3, General.Female):addSkills {
  "miniex__shoudi",
  "mashu",
}]]
Fk:loadTranslationTable{
  ["miniex__mayunlu"] = "极马云騄",

  ["miniex__shoudi"] = "狩敌",
  [":miniex__shoudi"] = "每回合限一次，你可以将一张<font color='red'>♦</font>牌当无距离限制的【杀】使用。"..
  "你使用的【杀】可以额外指定X个目标，此【杀】结算结束后，你令其中一名未受到伤害的目标角色摸X张牌（X为体力上限不小于你的角色数）。",
}

--[[
General:new(extension, "miniex__bulianshi", "wu", 3, 3, General.Female):addSkills {
  "miniex__shushan",
  "miniex__buzhib",
}]]
Fk:loadTranslationTable{
  ["miniex__bulianshi"] = "极步练师",

  ["miniex__shushan"] = "淑善",
  [":miniex__shushan"] = "每回合限一次，当一名角色失去装备区或手牌区最后一张牌后，你可以令其摸X张牌（X为你当前体力值），"..
  "然后若其体力值不大于你，其回复1点体力。",
  ["miniex__buzhib"] = "不忮",
  [":miniex__buzhib"] = "出牌阶段限一次，你可以选择一名装备区牌数不大于你的角色，令其使用另一名你指定的角色装备区内至多X张牌，"..
  "然后本回合你减少等量的手牌上限（X为你当前手牌上限）。",
}


return extension
